<template>
  <a-drawer
    width="45%"
    :title="formTitle"
    :label-col="4"
    :wrapper-col="14"
    :visible="open"
    :body-style="{ height: 'calc(100vh - 100px)', overflow: 'auto' }"
    @close="cancel"
  >
    <a-form-model ref="form" :model="form" :rules="rules" layout="vertical">
      <a-spin :spinning="spinning" :delay="delayTime" tip="Loading...">
        <a-row :gutter="32">
          <a-col :span="24">
            <!-- style="border-left: 1.5px solid #ecedee; height: calc(100vh - 45vh)" -->
            <a-row :gutter="32">
              <a-col :span="24">
                <assess-dept-list
                  :assessId="form.id"
                  ref="addDeptList"
                  v-if="open"
                />
              </a-col>
            </a-row>
          </a-col>
        </a-row>
      </a-spin>
      <div class="bottom-control">
        <a-button @click="cancel"> 关闭 </a-button>
      </div>
    </a-form-model>
  </a-drawer>
</template>
<script>
import BizAssessInfoAddForm from "./BizAssessInfoForm";
export default {
  ...BizAssessInfoAddForm,
};
</script>
